#ifndef FORMQDSERVERINFO_H
#define FORMQDSERVERINFO_H

#include <QWidget>
#include <QTimer>

#include "mqtt_ipc.h"

namespace Ui
{
    class FormQDServerInfo;
}

class FormDQServerInfo : public QWidget
{
Q_OBJECT

public:
    explicit FormDQServerInfo(QWidget *parent = nullptr);

    ~FormDQServerInfo() override;

private slots:

    void on_pushButtonReturn_clicked();

    void on_tick();

    void on_recvMQTTMsg(QByteArray msg);

private:
    Ui::FormQDServerInfo *ui;
    QTimer timer;
    MQTT_IPC mqtt;
};

#endif
